<{include file="admin_header.html"}>
	<script>
		$(document).ready(function() {
			/*
			*   弹出权限框
			*/ 

		$(".add").fancybox({
		maxWidth	: 300,
		maxHeight	: 400,
		fitToView	: false,
		width		: '70%',
		height		: '70%',
		autoSize	: false,
		closeClick	: false,
		openEffect	: 'none',
		closeEffect	: 'none'
	   });
			
		});
	</script>


<body>  
<form name="myform" method="post" action="">
 <input type="hidden" name="selids" value=""/>
<div id="navigator" class="width99 text-align-l margin-auto border-style-solid border-width-3 border-color-lc background-color2"> <span class="line-height30 font-size-14 margin-l-r-4"><a href="#">◆<{$tt}></a> | <a class='add fancybox.ajax' href='<{spUrl c=system a=addrates}>'>添加<{$tt}></a>  | <a class='add fancybox.ajax' href='<{spUrl c=system a=update}>'>远程抓取<{$tt}></a> </span></div>

<div id="menu" class="width99 margin-auto text-align-l border-style-solid border-width-3 border-color-lc background-color height-auto clear"> 
<p class="width100 line-height30 background-color3 clear">
<span class="t1 display-block float-left"><input name="checkbox" type="checkbox" onclick="checkorno(this,this.form.catids)" /></span>
<span class="t2 width20 display-block float-left"><b><a href="#" onclick="javascript:$('input[type=checkbox]').attr('checked', true);return false;">全选</a>/<a href="#" onclick="javascript:$('input[type=checkbox]').attr('checked', false)">取消</a>     名称</b></span> 
<span class="t3 width30 display-block float-left"><b><{$tt}>-更新时间</b></span>
<span class="t4  display-block float-right"><b>操作</b></span>            
</p>
   
<{foreach $rates as $entry}>             
<div class="width100 height30 clear">
<span class="t1 display-block float-left"><input type="checkbox" name="catids" id="catids" value="<{$entry.currencies_id}>"/></span>
<span class="t2 width20 display-block float-left">
<{$str2}> [<{$entry.currencies_id}>.<{$entry.title}>]</span> 
<span class="t3 width30 display-block float-left"><input class="num" style="width: 100px;" name="orderid[<{$entry.currencies_id}>]" type="text" value="<{$entry.value}>"/> <{$entry.last_updated}></span>
<span class="t4  display-block float-right"><a class='add fancybox.ajax' href='<{spUrl c=system a=editrates currencies_id=$entry.currencies_id}>'>修改</a> | <a href="<{spUrl c=system a=delrates currencies_id=$entry.currencies_id}>" onClick="return confirm('确认删除吗？')">删除</a></span>            
</div>           

<{/foreach}>     


</div> 
<button name="select1" onClick="selAll(this.form.catids)" type="button">全选</button>
   <button name="select2" onClick="noSelAll(this.form.catids)" type="button">反选</button>
   <button name="order" type="button" onClick="subform(this.form,this.form.catids,'<{spUrl c=system a=editratesvalue}>','')">修改选中</button>
   <button name="order" type="button" onClick="subform(this.form,this.form.catids,'<{spUrl c=system a=delrates}>','')">删除选中</button>
   <button name="reset" type="reset">重置</button>
</form>

<{include file="admin_footer.html"}>
</body>
</html>

